<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Cap Go Server Demo</title>
    <link rel="stylesheet" href="styles.css">
    <!--<script src="widget.js"></script>-->
    <script src="https://cdn.jsdelivr.net/npm/@cap.js/widget@0.1.21/cap.min.js"></script>
</head>
<body>
    <div class="container">
        <header class="header">
            <h1>Cap Go Server Demo</h1>
            <p class="subtitle">A SHA-256 proof-of-work CAPTCHA alternative implementation in Go</p>
        </header>
        
        <main class="main-content">
            <div class="section">
                <h2>1. Click Mode</h2>
                <cap-widget id="cap" data-cap-api-endpoint="http://localhost:8080/"></cap-widget>
                 
            </div>
        </main>
        
        <footer class="footer">
            <p>Built with <a href="https://github.com/samwafgo/cap_go_server" target="_blank">Cap Go Server</a> - 
               Inspired by <a href="https://github.com/tiagorangel1/cap" target="_blank">Cap.js</a></p>
        </footer>
    </div>
    
    <script src="script.js"></script>
</body>
</html>